package org.example.java.socket.TCP;

import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.net.Socket;
import java.util.concurrent.TimeUnit;

public class Client {
  public static void main(String[] args) throws Exception {
    Socket client = new Socket("localhost", 12345);
    DataOutputStream dos = new DataOutputStream(client.getOutputStream());
    dos.writeUTF("7E0100002D018752459711280C00000000373039323342425A2D3130314B2D30310000000000000000003730393233313102BEA9435339373131347E");
    Thread.sleep(3000);
    dos.flush();
    dos.close();
    client.close();
  }
}
